﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<OneDollarStore.Models.ContactModel>" %>

<asp:Content ID="TitleContent" ContentPlaceHolderID="TitleContent" runat="server">
    Liên hệ chúng tôi
</asp:Content>

<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">
    <div class="right">
        <h1 style="text-align:center; margin-left:5px; color:Green">Liên hệ</h1>
        <br />
        <div style="font-size:15px; text-align:justify; margin-left:5px; width:98%">
            <h3 style="margin-top:20px; margin-bottom:10px">Công ty One Dollar Store </h3>
            <div style="line-height:20px">
                <p>- <span style="font-weight:bold">Trụ sở chính</span>: 456 Nguyen Thi Minh Khai, District 1, Ho Chi Minh City</p>
                <p>- Tell: 08.39252999</p>
                <p>- Fax: 08.39259131</p>
            </div>
            <br />
            <div style="line-height:20px">
                <p>+ <span style="font-weight:bold">Trụ sở 2</span>: 123 Ton That Thuyet, District 4, Ho Chi Minh City</p>
                <p>+ Tell: 08.39252888</p>
                <p>+ Fax: 08.39259132</p>
            </div>
        </div>
        <br />
        <% using (Html.BeginForm())
           { %>
            <div>
                <div style="font-size:15px; margin-left:5px; color:Red">
                    <%= Html.ValidationSummary(true, "Please correct the errors and try again.")%>
                </div>
                <br />
                <fieldset style="width:60%; margin-left:5px">
                    <legend style="font-style:italic">Contact Information</legend>
                    <div class="editor-label">
                        <%= Html.LabelFor(m => m.Name)%>
                    </div>
                    <div class="editor-field">
                        <%= Html.TextBoxFor(m => m.Name)%>
                        <%= Html.ValidationMessageFor(m => m.Name)%>
                    </div>
                    <div class="editor-label">
                        <%= Html.LabelFor(m => m.Email)%>
                    </div>
                    <div class="editor-field">
                        <%= Html.TextBoxFor(m => m.Email)%>
                        <%= Html.ValidationMessageFor(m => m.Email)%>
                    </div>
                    <div class="editor-label">
                        <%= Html.LabelFor(m => m.Title)%>
                    </div>
                    <div class="editor-field">
                        <%= Html.TextBoxFor(m => m.Title)%>
                        <%= Html.ValidationMessageFor(m => m.Title)%>
                    </div>
                    <div class="editor-label">
                        <%= Html.LabelFor(m => m.Content)%>
                    </div>
                    <div class="editor-field">
                        <%= Html.TextAreaFor(m => m.Content)%>
                        <%= Html.ValidationMessageFor(m => m.Content)%>
                    </div>
                    <p style="clear:both; text-align:right; margin-right:43px">
                        <br />
                        <input type="submit" value="Send" />
                    </p>
                    <br />
                </fieldset>
            </div>
        <% } %>
    </div>
</asp:Content>